package com.learn.service;

import com.learn.pojo.Account;

import java.util.List;

public interface AccountService {
    void transfer(int fromId, int toId, double money);

    int save(Account account);
    int deleteById(Integer id);

    List<Account> getAll();
    Account getById(Integer id);
}
